POV-Ray : Newsgroups : povray.advanced-users : Question about normals : Question about normals Server Time
29 Jul 2024 06:28:24 EDT (-0400)
  Question about normals  
From: Slime
Date: 15 Nov 2002 21:23:34
Message: <3dd5ac26$1@news.povray.org>
I was unable to figure out from the POV-Ray source code exactly how this was
done.

Let's say I have an object. I know of a point A on this object. I happen to
know the normal of the object at point A.

Now, I apply a matrix transformation to the object. Point A has been mapped
to point B. How do I figure out the normal of the transformed object at
point B?

I thought, at first, that I could apply the inverse of the matrix
transformation to the normal, but then I realized that this wouldn't work in
all cases.

How is it done?

 - Slime
[ http://www.slimeland.com/ ]


Post a reply to this message

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.